package com.example.jiaju.api;

import com.example.jiaju.entity.DecAndWork;

import okhttp3.RequestBody;
import retrofit2.Call;
import retrofit2.http.Body;
import retrofit2.http.GET;
import retrofit2.http.POST;
import retrofit2.http.Query;

public interface DecAndWorkApi {
//    http://81.70.202.116/jiaju-api/decorate/with_works?page=1&limit=1
    @GET("jiaju-api/decorate/with_works")
    Call<DecAndWork> getAllDecAndWork(@Query("page") Integer page, @Query("limit") Integer limit);
}
